import logging
from sale.config import Config
from sale.utils import app
from sale.apps.member.urls import users_bp
logging.basicConfig(filename='logger.log', level=logging.INFO, format='%(asctime)s-%(name)s-%(levelname)s-%(message)s')
logger = logging.getLogger('sale')

logger.debug('debug message')
logger.info('info message')
logger.warn('warn message')
logger.error('error message')
logger.critical('critical message')


app.register_blueprint(users_bp, url_prefix='/api/sale')
